/**
 * Copyright (C), 2019-2023,
 * FileName: ListStudentDto
 * Author:   fanxquer
 * Date:     2023/7/21 14:21
 * Description:
 * History:
 * <author>          <time>          <version>          <desc>
 * 邱富康           2023/7/21           1.0
 */
package com.hsteach.web.controller.visit.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.hsteach.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 〈〉
 *
 * @author Qiu Fukang
 * @create 2023/7/21
 * @since 1.0.0
 */
@ApiModel(value = "AddReservationDto", description = "添加家访预约")
@Data
public class AddReservationDto implements Serializable {

    @ApiModelProperty(value = "学生Id", required = true)
    private String personId;

    @ApiModelProperty(value = "学生姓名", required = true)
    private String personName;

    @ApiModelProperty(value = "性别", required = true)
    private String sex;

    @ApiModelProperty(value = "班级id", required = true)
    private String classId;

    @ApiModelProperty(value = "班级名", required = true)
    private String className;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "开始时间 yyyy-MM-dd HH:mm:ss", required = true)
    private Date beginTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "结束时间 yyyy-MM-dd HH:mm:ss", required = true)
    private Date endTime;
}